package com.example.administrator.dc.Service;

import com.example.administrator.dc.Bean.CancelFollow;
import com.example.administrator.dc.Bean.Follow;
import com.example.administrator.dc.Bean.IsFollow;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/8/24.
 */

public interface FollowService {
    //判断是否关注
    @GET("checkfollow")
    Call<IsFollow> isfollow(@Query("uid") String userid,
                            @Query("followid") String followid
    );
    //关注
    @GET("follow")
    Call<Follow>follow(@Query("uid")String userid,
                        @Query("followid") String followid);
    //取消关注
    @GET("disfollow")
    Call<CancelFollow>cancelfollow(@Query("uid")String userid,
                                          @Query("followid") String followid);



}
